Use CRPEJob::SetMargins to set the page margins for the print job. Use this method any time that you want to allow the user to change margins.
BOOL SetMargins (
short left,
short right,
short top,
short bottom );
For any of the parameters, PM_SM_DEFAULT can be used to specify that the report use default printer margins.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |